package com.ftf.tp.blog.infrastructure.mapper.pos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文章收藏夹表
 *
 * @author tanghao
 * @date 2022/6/24
 */
@ApiModel(value = "文章收藏夹表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "article_collection_folder")
public class ArticleCollectionFolderPO {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 收藏夹名称
     */
    @TableField(value = "folder_name")
    @ApiModelProperty(value = "收藏夹名称")
    private String folderName;

    /**
     * 父收藏夹id
     */
    @TableField(value = "folder_parent_id")
    @ApiModelProperty(value = "父收藏夹id")
    private Long folderParentId;

    /**
     * 父收藏夹名称
     */
    @TableField(value = "folder_parent_name")
    @ApiModelProperty(value = "父收藏夹名称")
    private String folderParentName;

    /**
     * 收藏夹创建用户id
     */
    @TableField(value = "folder_user_id")
    @ApiModelProperty(value = "收藏夹创建用户id")
    private Long folderUserId;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新时间
     */
    @TableField(value = "updated_time")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;
}